package com.runjian.rundo.iot.agent.common.network.tcp.session;

import io.netty.channel.Channel;
import lombok.RequiredArgsConstructor;

/**
 * 默认的TcpDeviceSessionManager管理器
 *
 * @author CaoQingHua
 */
@RequiredArgsConstructor
public class DefaultTcpDeviceSessionManager extends TcpDeviceSessionManager<DefaultTcpDeviceSession> {

    @Override
    public DefaultTcpDeviceSession generateSession(Channel channel) {
        DefaultTcpDeviceSession tcpDeviceSession = new DefaultTcpDeviceSession(channel);
        return tcpDeviceSession;
    }
}
